<h2>注册</h2>

<fieldset><legend>注册</legend>
	<form action="{$URL_register}" method="post" id="thisform">

		<label>{#PLIGG_Visual_Register_Username#}&nbsp;&nbsp;<span style="color:#ccc">请使用英文字母和数字作为用户名. 注册完成后可以修改您的显示名称为中文</span></label>
		{if isset($form_username_error)}{ foreach value=error from=$form_username_error }<br /><span class="error">{$error}</span><br />{ /foreach }<br />{/if}
		<input type="text" onblur="checkfield('username', this.form, this.form.reg_username)" name="reg_username" id="reg_username" value="{if isset($reg_username)}{$reg_username}{/if}" size="25" tabindex="30" maxlength="32"/>
		<span id="checkit-reg-username"><input style="display:none" type="button" name="reg-checkbutton1" id="reg-checkbutton1" value="{#PLIGG_Visual_Register_Verify#}" onclick="checkfield('username', this.form, this.form.reg_username)" class="submit-s" tabindex="31" /></span><span id="reg_usernamecheckitvalue"></span>

		<br />
		
		<label>{#PLIGG_Visual_Register_Email#}&nbsp;&nbsp;<span style="color:#ccc">请使用小写字母</span></label>
		{if isset($form_email_error)}{ foreach value=error from=$form_email_error }<br /><span class="error">{$error}</span><br />{ /foreach }<br />{/if}
		<input type="text" onblur="checkfield('email', this.form, this.form.reg_email)" id="reg_email" name="reg_email" value="{if isset($reg_email)}{$reg_email}{/if}" size="25" tabindex="32" maxlength="128"/>
		<span id="checkit-reg-pass"><input style="display:none" type="button" name="reg-checkbutton2" id="reg-checkbutton2" value="{#PLIGG_Visual_Register_Verify#}" onclick="checkfield('email', this.form, this.form.reg_email)" class="submit-s" tabindex="33" /></span><span id="reg_emailcheckitvalue"></span>
		
		<br />
		
		<label>{#PLIGG_Visual_Register_Password#}&nbsp;&nbsp;<span style="color:#ccc">{#PLIGG_Visual_Register_FiveChar#}</span></label>
		{if isset($form_password_error)}{ foreach value=error from=$form_password_error }<br /><span class="error">{$error}</span><br />{ /foreach }<br />{/if}
		<input type="password" id="reg_password" name="reg_password" value="{if isset($reg_password)}{$reg_password}{/if}" size="25" tabindex="34"/>

		<br />

		<label>再次输入密码 </label>
		<input onblur="if (this.value != this.form.reg_password.value) document.getElementById ('checksamepwd').innerHTML='与第一次输入的不相同'" type="password" id="reg_verify" name="reg_password2" value="{if isset($reg_password2)}{$reg_password2}{/if}" size="25" tabindex="35"/><span id="checksamepwd" style="color:red"></span>

		{if isset($register_step_1_extra)}
			<br />
			{$register_step_1_extra}
		{/if}
			
		<br />
<br>	

		<input style="width:50px" type="submit" name="submit" value="注册" class="log2" tabindex="36" />
		<input type="hidden" name="regfrom" value="full"/>
	</form>
</fieldset>
